import cv2 as cv


def main():
    img = cv.imread('../data/test.png')
    if img is None:
        print("牛爷爷, 俺滴图图呢")
        return

    cv.imshow("Press any key to next", img)
    cv.waitKey(0)

    ball = img[280:340, 330:390]
    cv.imshow("Press any key to next", ball)
    cv.waitKey(0)

    img[273:333, 100:160] = ball
    cv.imshow("Press any key to next", img)
    cv.waitKey(0)

    cv.destroyAllWindows()


if __name__ == "__main__":
    main()
